<script>document.querySelector('ons').someMethod()</script>